package day3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Lunch2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("口袋里多少钱:");
        int money = in.nextInt();
        if (money >= 100) {
            System.out.println("吃KFC");
            money = money - 70;
        } else {
            System.out.println("吃了一份炒面");
            money = money - 15;
        }
        System.out.println("还剩下"+money+"元");
    }
}
